package cn.yitun.chat.yitunserverimbase.dao.notice;

import cn.yitun.chat.yitunservercommonlib.crud.yitun.CrudDao;
import cn.yitun.chat.yitunservercommonlib.dataentity.dto.notice.UserTextNoticeDto;
import cn.yitun.chat.yitunservercommonlib.dataentity.po.notice.UserTextNoticeInfo;
import cn.yitun.chat.yitunservercommonlib.dataentity.vo.notice.UserTextNoticeVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户文本通知表
 * @author chenyitun
 * @email chenyitun@163.com
 * @date 2020-05-27 14:45:10
 */
@Mapper
public interface UserTextNoticeDao extends CrudDao<UserTextNoticeDto, UserTextNoticeInfo, UserTextNoticeVo> {

	int absDel(Long id);

	int batchAbsDel(Long[] ids);

	int insertPush (@Param("textNoticeId") Long textNoticeId, @Param("userIds") List<Long> outUserIds);

}
